package org.momin.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.momin.bean.UserInfo;

public interface UserInfoDao {
	List<UserInfo> getUserAll();
	
	List<UserInfo> getUserById(int id);
	
	List<UserInfo> getUserByNameAndPwd(@Param("a") String name,@Param("pwd")String pwd);

	int add(UserInfo info);
}
